package com.local.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "local_week_section")
public class LocalWeekSection {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "uuid")
    private String uuid;

    @Column(name = "type")
    private String type;

    @Column(name = "charge_bytime_uuid")
    private String chargeBytimeUuid;

    @Column(name = "section")
    private String section;

    @Column(name = "section_start_time")
    private String sectionStartTime;

    @Column(name = "section_end_time")
    private String sectionEndTime;

    @Column(name = "car_type_uuid")
    private String carTypeUuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getChargeBytimeUuid() {
        return chargeBytimeUuid;
    }

    public void setChargeBytimeUuid(String chargeBytimeUuid) {
        this.chargeBytimeUuid = chargeBytimeUuid == null ? null : chargeBytimeUuid.trim();
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section == null ? null : section.trim();
    }

    public String getSectionStartTime() {
        return sectionStartTime;
    }

    public void setSectionStartTime(String sectionStartTime) {
        this.sectionStartTime = sectionStartTime == null ? null : sectionStartTime.trim();
    }

    public String getSectionEndTime() {
        return sectionEndTime;
    }

    public void setSectionEndTime(String sectionEndTime) {
        this.sectionEndTime = sectionEndTime == null ? null : sectionEndTime.trim();
    }

    public String getCarTypeUuid() {
        return carTypeUuid;
    }

    public void setCarTypeUuid(String carTypeUuid) {
        this.carTypeUuid = carTypeUuid == null ? null : carTypeUuid.trim();
    }
}